from django.shortcuts import render
from django_filters.rest_framework import DjangoFilterBackend
from rest_framework.viewsets import ModelViewSet
from .models import Shop
from .serializer import ShopSerializers
from common.MyPage import MyPageNumberPagination


class ShopViewSet(ModelViewSet):
    queryset = Shop.objects.all()
    serializer_class = ShopSerializers
    pagination_class = MyPageNumberPagination





